using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using Sailfish;
using UnityEngine;

public class TEst : Controller
{

    [Arg("gt")]
    public float gt;

    

    [Aciton("Input1217722222222554325")]
    public void InputMsgrt13222()
    {
        Debug.Log("INputMsg");  
        StartCoroutine(Start1());
    }

    [Aciton]
    public void InputMsg()
    {
        Debug.Log("INputMsg");
        StartCoroutine(Start1());
    }



    public string InputAction1()
    {
        return "InputAction";
    }

    async Task WaitStart()
    {
        Debug.Log("异步开始");

        await this.UpdateTime(0.5f);

        Debug.Log("异步结束");
    }

    [Aciton]
    public void TaskEnd()
    {
        
    }

    IEnumerator Start1()
    {
        Debug.Log("任务");
        

        Debug.Log("结束");
        yield return WaitStart();
       
        Debug.Log("---");
    }
}
